home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmCreatePromptDialog.z / XmCreatePromptDialog
Encoding:
Text File  |  2003-11-18  |  3.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPrrrroooommmmppppttttDDDDiiiiaaaalllloooogggg((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPrrrroooommmmppppttttDDDDiiiiaaaalllloooogggg((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_C_r_e_a_t_e_P_r_o_m_p_t_D_i_a_l_o_g - The SelectionBox PromptDialog
  10.       convenience creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/SelectioB.h>
  14.  
  15.       Widget XmCreatePromptDialog (ppppaaaarrrreeeennnntttt,,,, nnnnaaaammmmeeee,,,, aaaarrrrgggglllliiiisssstttt,,,, aaaarrrrggggccccoooouuuunnnntttt)
  16.            _W_i_d_g_e_t     ppppaaaarrrreeeennnntttt;
  17.            _S_t_r_i_n_g     nnnnaaaammmmeeee;
  18.            _A_r_g_L_i_s_t     aaaarrrrgggglllliiiisssstttt;
  19.            _C_a_r_d_i_n_a_l     aaaarrrrggggccccoooouuuunnnntttt;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_C_r_e_a_t_e_P_r_o_m_p_t_D_i_a_l_o_g is a convenience    creation function that
  23.       creates a DialogShell    and an unmanaged SelectionBox child of
  24.       the DialogShell.  A PromptDialog prompts the user for    text
  25.       input.  It includes a    message, a text    input region, and
  26.       three    managed    buttons.  The default button labels are    _O_K,
  27.       _C_a_n_c_e_l, and _H_e_l_p.  An    additional button, with    _A_p_p_l_y as the
  28.       default label, is created unmanaged; it may be explicitly
  29.       managed if needed.  One additional _W_o_r_k_A_r_e_a child may    be
  30.       added    to the SelectionBox after creation.
  31.  
  32.       _X_m_C_r_e_a_t_e_P_r_o_m_p_t_D_i_a_l_o_g forces the value    of the SelectionBox
  33.       resource _X_m_N_d_i_a_l_o_g_T_y_p_e to _X_m_D_I_A_L_O_G__P_R_O_M_P_T.
  34.  
  35.       Use _X_t_M_a_n_a_g_e_C_h_i_l_d to pop up the PromptDialog (passing    the
  36.       SelectionBox as the widget parameter); use _X_t_U_n_m_a_n_a_g_e_C_h_i_l_d
  37.       to pop it down.
  38.  
  39.       ppppaaaarrrreeeennnntttt
  40.            Specifies the parent widget ID
  41.  
  42.       nnnnaaaammmmeeee Specifies the name of the created widget
  43.  
  44.       aaaarrrrgggglllliiiisssstttt
  45.            Specifies the argument list
  46.  
  47.       aaaarrrrggggccccoooouuuunnnntttt
  48.            Specifies the number of attribute/value pairs in    the
  49.            argument    list (aaaarrrrgggglllliiiisssstttt)
  50.  
  51.       For a    complete definition of SelectionBox and    its associated
  52.       resources, see _X_m_S_e_l_e_c_t_i_o_n_B_o_x(_3_X).
  53.  
  54.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  55.       Returns the SelectionBox widget ID.
  56.  
  57.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  58.       _X_m_S_e_l_e_c_t_i_o_n_B_o_x(_3_X).
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.